<?php
/**
 * ExtTimeField class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtTimeField extends ExtComboBox
{
    /**
     * Gets the value of ExtJS altFormats property
     * @return String 
     */
    public function getAltFormats()
    {
    	return $this->getConfig("altformats");
    }

    /**
     * Sets the value of ExtJS altFormats property
     * @param String $value 
     */
    public function setAltFormats($value)
    {
    	$this->setConfig("altformats",$value);
    }

    /**
     * Gets the value of ExtJS format property
     * @return String 
     */
    public function getFormat()
    {
    	return $this->getConfig("format");
    }

    /**
     * Sets the value of ExtJS format property
     * @param String $value 
     */
    public function setFormat($value)
    {
    	$this->setConfig("format",$value);
    }

    /**
     * Gets the value of ExtJS increment property
     * @return Number 
     */
    public function getIncrement()
    {
    	return $this->getConfig("increment");
    }

    /**
     * Sets the value of ExtJS increment property
     * @param Number $value 
     */
    public function setIncrement($value)
    {
    	$this->setConfig("increment",$value);
    }

    /**
     * Gets the value of ExtJS invalidText property
     * @return String 
     */
    public function getInvalidText()
    {
    	return $this->getConfig("invalidtext");
    }

    /**
     * Sets the value of ExtJS invalidText property
     * @param String $value 
     */
    public function setInvalidText($value)
    {
    	$this->setConfig("invalidtext",$value);
    }

    /**
     * Gets the value of ExtJS maxText property
     * @return String 
     */
    public function getMaxText()
    {
    	return $this->getConfig("maxtext");
    }

    /**
     * Sets the value of ExtJS maxText property
     * @param String $value 
     */
    public function setMaxText($value)
    {
    	$this->setConfig("maxtext",$value);
    }

    /**
     * Gets the value of ExtJS maxValue property
     * @return Date/String 
     */
    public function getMaxValue()
    {
    	return $this->getConfig("maxvalue");
    }

    /**
     * Sets the value of ExtJS maxValue property
     * @param Date/String $value 
     */
    public function setMaxValue($value)
    {
    	$this->setConfig("maxvalue",$value);
    }

    /**
     * Gets the value of ExtJS minText property
     * @return String 
     */
    public function getMinText()
    {
    	return $this->getConfig("mintext");
    }

    /**
     * Sets the value of ExtJS minText property
     * @param String $value 
     */
    public function setMinText($value)
    {
    	$this->setConfig("mintext",$value);
    }

    /**
     * Gets the value of ExtJS minValue property
     * @return Date/String 
     */
    public function getMinValue()
    {
    	return $this->getConfig("minvalue");
    }

    /**
     * Sets the value of ExtJS minValue property
     * @param Date/String $value 
     */
    public function setMinValue($value)
    {
    	$this->setConfig("minvalue",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'altformats' => 'altFormats',
            'invalidtext' => 'invalidText',
            'maxtext' => 'maxText',
            'maxvalue' => 'maxValue',
            'mintext' => 'minText',
            'minvalue' => 'minValue'
        ));



        $this->proptags = array_merge($this->proptags,array(
            'menu' => true
        ));
        $this->setXType('timefield');
        $this->setXClass('Ext.form.TimeField');
    }    
}
?>